package com.onepice.mlp.data.dao;

import com.onepice.mlp.data.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author FireWang
 * @date 2022/07/11 18:26:57
 */
public interface UserDao extends JpaRepository<User, Integer>, JpaSpecificationExecutor {
    User findByPhone(String phone);
    User findByUserName(String userName);
}
